home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Megahits 6
/
Megahits 6 (1995)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso
/
time_ungepackt
/
time_361_390
/
time_375
/
m&m3.13
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1995-07-15
|
4KB
|
141 lines
; Menus & More Installation Script
;
; $VER: Install.bat 3.01 (09.02.95) by Axel Sodtalbers
; $LANGUAGE: english
;
; nobody is perfect... ;-)
.key Target/A
Failat 20
IF NOT Exists "$MMPath"
MMReq YESNO "Create the given directory?"
IF NOT ERROR
MakeDir "$MMPath"
ENDIF
ENDIF;
echo "*nCreating target directory <Target>M&M..."
Makedir "<Target>M&M"
Copy MM:Examples.info to "<Target>M&M.info" QUIET
echo "*nCopying Menus & More programs to <Target>M&M..."
Copy MM:MMEditor to "<Target>M&M" QUIET
Copy MM:MMEditor.info to "<Target>M&M" QUIET
Copy MM:MMPlayer to "<Target>M&M" QUIET
Copy MM:MMPlayer.info to "<Target>M&M" QUIET
Copy MM:MMReq to "<Target>M&M" QUIET
Copy MM:MMReq.info to "<Target>M&M" QUIET
Copy MM:MMAnalyse to "<Target>M&M" QUIET
Copy MM:MMAnalyse.info to "<Target>M&M" QUIET
Copy MM:M&M.config.info to "<Target>M&M" QUIET
Copy MM:M&M.icon.info to "<Target>M&M" QUIET
Copy MM:Install.M&M to "<Target>M&M" QUIET
Copy MM:Install.M&M.info to "<Target>M&M" QUIET
Copy MM:Install.bat to "<Target>M&M" QUIET
Copy MM:Registration.bat to "<Target>M&M" QUIET
Copy MM:Registration.txt to "<Target>M&M" QUIET
echo "*nCopying documentation to <Target>M&M..."
Copy MM:M&M.guide#? to "<Target>M&M" QUIET
Copy MM:M&M.guide to "<Target>M&M/M&M.dok" QUIET ; if there is no AmigaGuide
Copy MM:ReadMe.guide#? to "<Target>M&M" QUIET
echo "*nCopying Examples to <Target>M&M..."
Copy MM:Examples to "<Target>M&M/Examples" ALL QUIET
Copy MM:Examples.info to "<Target>M&M" QUIET
IF Exists LOCALE:Catalogs/deutsch THEN
echo "*nKataloge nach <Target>M&M kopieren..."
Copy MM:deutsch/MMEditor.catalog to LOCALE:Catalogs/deutsch QUIET
Copy MM:deutsch/MMPlayer.catalog to LOCALE:Catalogs/deutsch QUIET
ENDIF
IF NOT Exists LIBS:asl.library
MMReq YESNO "Copy ASL.library to LIBS: ?"
IF NOT ERROR
LAB WB1
MMReq OKCANC "Please insert original WB-Disk into DF0: !"
IF NOT ERROR
IF NOT exists df0:libs/asl.library
Skip WB1 BACK
ENDIF
ELSE
Copy df0:libs/asl.library TO LIBS: QUIET
ENDIF
ELSE
echo "*e[32m*nPlease install LIBS:asl.library later on!*e[31m"
ENDIF
ENDIF
IF NOT Exists LIBS:diskfont.library
MMReq YESNO "Copy diskfont.library to LIBS: ?"
IF NOT ERROR
LAB WB2
MMReq OKCANC "Please insert original WB-Disk into DF0: !"
IF NOT ERROR
IF NOT exists df0:libs/diskfont.library
Skip WB2 BACK
ENDIF
ELSE
Copy df0:libs/diskfont.library TO LIBS: QUIET
ENDIF
ELSE
echo "*e[32m*nPlease install LIBS:diskfont.library later on!*e[31m"
ENDIF
ENDIF
IF NOT Exists LIBS:rexxsyslib.library
MMReq YESNO "Copy rexxsyslib.library to LIBS: ?"
IF NOT ERROR
LAB WB3
MMReq OKCANC "Please insert original WB-Disk into DF0: !"
IF NOT ERROR
IF NOT exists df0:libs/rexxsyslib.library
Skip WB1 BACK
ENDIF
ELSE
Copy df0:libs/rexxsyslib.library TO LIBS: QUIET
ENDIF
ELSE
echo "*e[32m*nPlease install LIBS:rexxsyslib.library later on!*e[31m"
ENDIF
ENDIF
IF NOT Exists LIBS:AmigaGuide.library
Echo "*e[32m*nWARNING! Cannot find LIBS:AmigaGuide.library!*e[31m"
Echo "*nPlease install this library later on!"
ENDIF
MMReq YESNO "Is Commodore ED in the C: directory ?"
IF ERROR
LAB WB
MMReq OKCANC "Please insert original WB-Disk into DF0: !"
IF NOT ERROR
IF NOT exists df0:c/ed
Skip WB BACK
ELSE
Copy df0:c/ed TO C: QUIET
ENDIF
ELSE
echo "*e[32m*nPlease install C:Ed later on!*e[31m"
ENDIF
ENDIF
MMReq YESNO "Insert »Assign MM: Target« into user-startup ?"
IF NOT ERROR
copy S:User-Startup to S:User-Startup.old
echo >>S:User-Startup ";BEGIN Menus&More"
echo >>S:User-Startup "ASSIGN MM: *"<Target>M&M*" "
echo >>S:User-Startup ";END Menus&More"
ELSE
echo "*e[32m*n*nPlease type *"Assign MM: <Target>M&M*" before starting the examples!"
echo "or insert this into the startup-sequence"
ENDIF
echo "*e[31m*n*n*nInstallation finished - close window via CTRL+\ !"